import React from 'react';
import { connect } from 'react-redux';
import EverydayTrend from '../components/Data/EverydayTrend';

class EverydayTrendContainer extends React.Component {
  render() {
    return (
      <EverydayTrend {...this.props} />
    );
  }
}

export default connect((state) => {
  const { importOVerviewData, EveryDayData, startTime, endTime } = state.ImportOverview;
  return {
    importOVerviewData,
    EveryDayData,
    startTime,
    endTime,
  };
})(EverydayTrendContainer);
